/*
 * $Id: Picture.java 184 2009-06-06 09:27:13Z meyer@alphatec.de $
 * 
 *
 * Copyright 2009 DeltaDesk
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package deltadesk.apps.pictureviewer.data;

import java.awt.image.BufferedImage;
import java.net.URL;

/**
 * Picture
 * 
 * @author Andreas Meyer
 * @version $Revision: 184 $
 */
public class Picture {
	
	/** The source URL. */
	private URL source;
	
	/** The loaded AWT image. */
	private BufferedImage image;
	
	/** The description for the picture. */
	private String description;

	
	/**
	 * @return the source
	 */
	public URL getSource() {
		return source;
	}

	/**
	 * @param source the source to set
	 */
	public void setSource(final URL source) {
		this.source = source;
	}

	/**
	 * @return the image
	 */
	public BufferedImage getImage() {
		return image;
	}

	/**
	 * @param image the image to set
	 */
	public void setImage(final BufferedImage image) {
		this.image = image;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(final String description) {
		this.description = description;
	}

}
